package com.niguang.labour.admin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE
 * </p>
 *
 * @author 
 * @since 2018-06-10
 */
@TableName("work_labor_company")
public class WorkLaborCompany extends Model<WorkLaborCompany> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 劳务公司名称
     */
	@TableField("labor_name")
	private String laborName;

	/**
	 * 营业执照照片
	 */
	@TableField("license_img")
	private String licenseImg;

	/**
	 * 营业执照
	 */
	private String license;

	/**
	 * 地址
	 */
	private String address;

	@TableField("create_time")
	private Date createTime;
    /**
     * 是否删除 0--未 1-删除
     */
	@TableField("del_flag")
	private Integer delFlag;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLaborName() {
		return laborName;
	}

	public void setLaborName(String laborName) {
		this.laborName = laborName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public static final String ID = "id";

	public static final String LABOR_NAME = "labor_name";

	public static final String LICENSE = "license";

	public static final String LICENSE_IMG = "license_img";

	public static final String ADDRESS = "address";

	public static final String CREATE_TIME = "create_time";

	public static final String DEL_FLAG = "del_flag";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getLicenseImg() {
		return this.licenseImg;
	}

	public void setLicenseImg(String licenseImg) {
		this.licenseImg = licenseImg;
	}

	public String getLicense() {
		return this.license;
	}

	public void setLicense(String license) {
		this.license = license;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "WorkLaborCompany{" +
				"id=" + id +
				", laborName='" + laborName + '\'' +
				", licenseImg='" + licenseImg + '\'' +
				", license='" + license + '\'' +
				", address='" + address + '\'' +
				", createTime=" + createTime +
				", delFlag=" + delFlag +
				'}';
	}
}
